package com.zhiyou.app.shop.website.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou.app.shop.website.dao.IPrizePayDao;
import com.zhiyou.app.shop.website.service.IPrizePayService;

@Service(value="prizePayService")
public class PrizePayServiceImpl implements IPrizePayService {

	@Autowired
	private IPrizePayDao prizePayDao;
	
	public List findPrizePay(int start, int pagesize) {
		return prizePayDao.findPrizePay(start, pagesize);
	}

	public int findPrizePayCnt() {
		return prizePayDao.findPrizePayCnt();
	}


	public List findPrize(String account, String level, String startDate,
			String endDate, int start, int pageSize) {
		return prizePayDao.findPrize(account, level, startDate, endDate, start, pageSize);
	}

	public int findprizeCnt(String account, String level, String startDate,
			String endDate) {
		return prizePayDao.findprizeCnt(account, level, startDate, endDate);
	}

}
